Live broadcast exception processing method, device, readable storage medium and equipment

By obtaining and aggregating the interrupt event information of the live broadcast room from the real-time interruption database, determining the abnormal live broadcast room and providing real-time alarms, the problem of low interruption stream processing in the existing technology is solved, and the efficiency and user experience of live broadcast exception processing are improved.

CN117729388BActive Publication Date: 2024-11-22SHUXING TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311270710.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2024-11-22
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

When existing live broadcast exception handling methods detect abnormal situations such as stream disconnection, the data volume is large and the processing efficiency is low, resulting in the inability to handle live broadcast exceptions in time, affecting the audience's experience.

Method used

By obtaining the preset time and live broadcast room identification of a specific stream interrupt event from the real-time stream interrupt database, performing aggregation processing to obtain the frequency of occurrence information, determining the abnormal target live broadcast room, and generating exception prompt information for real-time alarms.

Benefits of technology

Real-time processing of live broadcast exceptions is realized, the efficiency of live broadcast exceptions is improved, and the impact on user viewing experience is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117729388B_ABST
    Figure CN117729388B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device and computer-readable storage medium for handling live broadcast exceptions; by obtaining the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from a real-time interruption database, the preset specific interruption event includes that the live broadcast audience terminal does not pull the live broadcast room video stream within a preset time after entering the live broadcast room; based on the occurrence time and the live broadcast room identifier, the preset specific interruption event is aggregated and processed to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room; according to the occurrence frequency information, an abnormal target live broadcast room is determined in the live broadcast room; abnormal prompt information for the preset specific interruption event is generated for the target live broadcast room and an alarm is issued, so as to handle the live broadcast exception for the target live broadcast room based on the abnormal prompt information of the alarm. In this way, real-time processing of abnormal situations in the live broadcast room can be achieved, thereby improving the efficiency of handling live broadcast exceptions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a live broadcast exception processing method, apparatus, readable storage medium and device. Background Art

[0002] With the rapid development of computer technology, live streaming is becoming more and more popular. However, due to factors such as the audience's network status, hardware equipment, and the host's streaming, it is very easy for the live screen to fail to pull the audio and video stream, resulting in abnormal situations such as black screen and silence, which brings a poor viewing experience to the audience. In the existing live broadcast exception handling method, when abnormal situations such as interruption of the live broadcast room are detected, relevant data are counted, and subsequent exception handling is performed based on the statistical data.

[0003] During the research and practice of the existing technology, it was found that in the existing live broadcast exception handling method, due to the large number and complexity of abnormal situations of live broadcast interruption, the amount of data related to the live broadcast exception counted is large, making it impossible to handle the live broadcast exception in time, which leads to low efficiency of live broadcast exception handling. Summary of the invention

[0004] The embodiments of the present application provide a live broadcast exception processing method, device and computer-readable storage medium, which can realize real-time processing of abnormal situations in the live broadcast room, thereby improving the efficiency of live broadcast exception processing.

[0005] The present application provides a method for handling live broadcast exceptions, including:

[0006] Acquire the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from the real-time interruption database, wherein the preset specific interruption event includes that the live broadcast viewer terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room;

[0007] Aggregate the preset specific interruption events based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption events in at least one live broadcast room;

[0008] Determine an abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information;

[0009] Generate abnormal prompt information for the target live broadcast room for the preset specific interruption event and issue an alarm.

[0010] Accordingly, the embodiment of the present application also provides another live broadcast exception processing method, including:

[0011] In response to entering the live broadcast room, a timing operation is performed, and if the live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time period, a preset specific interruption event is determined to have occurred;

[0012] The occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room are obtained, and the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event are stored in a preset real-time interruption database. The occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event stored in the real-time interruption database are used to determine the abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific interruption event, and issue an alarm.

[0013] Accordingly, an embodiment of the present application provides a live broadcast exception processing device, including:

[0014] An acquisition unit is used to acquire, from a real-time interruption database, an occurrence time of a preset specific interruption event and a live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs, wherein the preset specific interruption event includes that a live broadcast viewer terminal fails to pull a live broadcast room video stream within a preset time after entering the live broadcast room;

[0015] an aggregation unit, configured to aggregate the preset specific interruption event based on the occurrence time and the live broadcast room identifier, and obtain occurrence frequency information of the preset specific interruption event in at least one live broadcast room;

[0016] A determination unit, configured to determine an abnormal target live broadcast room in the live broadcast rooms according to the occurrence frequency information;

[0017] An alarm unit is used to generate abnormal prompt information for the target live broadcast room in response to the preset specific interruption event and issue an alarm.

[0018] In one embodiment, the determining unit is used to:

[0019] Counting the number of interruptions in the live broadcast room within a preset time period based on the occurrence frequency information;

[0020] Calculating the fluctuation rate of the number of interruptions in the live broadcast room within adjacent preset time periods according to the number of interruptions;

[0021] An abnormal target live broadcast room is determined in the live broadcast room based on the fluctuation rate of the number of interruptions.

[0022] In one embodiment, the live broadcast exception processing device further includes:

[0023] An alarm query unit, configured to receive alarm query information for target abnormal prompt information, wherein the alarm query information includes an alarm time corresponding to the target abnormal prompt information and a query time corresponding to the alarm query information;

[0024] A local log acquisition unit is used to acquire the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information according to the time relationship between the alarm time and the query time, wherein the target local log information is the local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room.

[0025] In one embodiment, the real-time interruption database further obtains the client identifier of the live broadcast viewer terminal where the preset specific interruption event occurs, and the local log acquisition unit includes:

[0026] A first log acquisition subunit is used to acquire, when the alarm time and the query time meet the preset time condition, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room according to the client identifier;

[0027] The second log acquisition subunit is used to obtain the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room according to the preset offline interruption database and the client identifier when the alarm time and the query time do not meet the preset time condition. The offline interruption database is used to store the abnormal log information corresponding to the preset specific interruption event occurring in the live broadcast room.

[0028] In one embodiment, the second log acquisition subunit is used to:

[0029] According to the client identifier corresponding to the preset specific interruption event occurring in the abnormal live broadcast room, the target abnormal log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is screened out from the abnormal log information stored in the preset offline interruption database;

[0030] Extracting a target local log storage address from the target abnormal log information;

[0031] Based on the target local log storage address, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is obtained.

[0032] In one embodiment, the first log acquisition subunit is used to:

[0033] Determine the target terminal corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room;

[0034] Obtain the target local log information corresponding to the abnormal live broadcast room stored in the target terminal.

[0035] Accordingly, an embodiment of the present application provides a live broadcast exception processing device, including:

[0036] A timing unit, for executing a timing operation in response to entering a live broadcast room, and determining a preset specific interruption event if a live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time period;

[0037] A storage unit is used to obtain the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room, and store the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event in a preset real-time interruption database. The occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event stored in the real-time interruption database are used to determine an abnormal target live broadcast room among the live broadcast rooms, generate abnormal prompt information for the target live broadcast room for the preset specific interruption event, and issue an alarm.

[0038] In one embodiment, the storage unit is used to:

[0039] Generate local log information based on the preset specific disconnection event that occurs, and record the disconnection detection log corresponding to the preset specific disconnection event;

[0040] The local log information is stored to obtain a local log storage address, and the abnormal log information corresponding to the preset specific interruption event is determined according to the local log storage address and the interruption detection log;

[0041] Extract the exception log key information from the exception log information, store the exception log information in a preset offline interruption database, and store the exception log key information in a preset real-time interruption database, wherein the exception log key information includes the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room.

[0042] In addition, an embodiment of the present application also provides a computer-readable storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any live broadcast exception handling method provided in the embodiment of the present application.

[0043] In addition, an embodiment of the present application also provides a computer device, including a processor and a memory, wherein the memory stores an application program, and the processor is used to run the application program in the memory to implement the live broadcast exception handling method provided in the embodiment of the present application.

[0044] The embodiment of the present application also provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the live broadcast exception handling method provided in the embodiment of the present application.

[0045] The embodiment of the present application obtains the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from a real-time interruption database, wherein the preset specific interruption event includes that the live broadcast audience terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room; the preset specific interruption event is aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room; an abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information; abnormal prompt information for the preset specific interruption event is generated for the target live broadcast room and an alarm is issued, so as to perform live broadcast abnormal processing on the target live broadcast room based on the abnormal prompt information of the alarm. In this way, by obtaining the occurrence time of the preset specific interruption event and the live broadcast room identifier corresponding to the preset specific interruption event from the real-time interruption database, the preset specific interruption event is aggregated according to the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event in the live broadcast room, so as to determine the abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information, and generate real-time abnormal prompt information based on the target live broadcast room and issue an alarm, so as to perform live broadcast abnormality processing on the target live broadcast room based on the real-time alarm abnormal prompt information. In this way, by targeted screening of the situation where the user who has the greatest impact on the user's viewing experience begins to interrupt the flow when entering the live broadcast room, the abnormality of the live broadcast room is monitored, which can reduce the data interference of other unimportant interruption events. Based on the key information of the preset specific interruption event stored in the real-time interruption database, the abnormal situation in the live broadcast room is aggregated and the live broadcast room with abnormality is determined, so as to realize timely processing of the abnormal situation in the live broadcast room, thereby improving the efficiency of live broadcast abnormality processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 This is a schematic diagram of an implementation scenario of a live broadcast exception handling method provided in an embodiment of the present application;

[0048] Figure 2It is a flowchart of a live broadcast exception handling method provided by an embodiment of the present application;

[0049] Figure 3 This is another flowchart of a live broadcast exception handling method provided by an embodiment of the present application;

[0050] Figure 4 It is a structural diagram of a live broadcast exception processing device provided in an embodiment of the present application;

[0051] Figure 5 is another structural schematic diagram of the live broadcast exception processing device provided in an embodiment of the present application;

[0052] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0054] The embodiment of the present application provides a live broadcast exception processing method, device and computer-readable storage medium. The live broadcast exception processing device can be integrated in a computer device, which can be a server or a terminal.

[0055] Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. Terminals may include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, aircraft, etc. Terminals and servers can be directly or indirectly connected via wired or wireless communications, and this application does not limit this.

[0056] See also Figure 1 , taking the live broadcast exception handling device integrated into the computer equipment as an example, Figure 1A schematic diagram of an implementation scenario of the live broadcast exception handling method provided in an embodiment of the present application, wherein the computer device can be a server or a terminal, and the computer device can obtain the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurred from a real-time interruption database, wherein the preset specific interruption event includes that the live broadcast audience terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room; the preset specific interruption event is aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room; the abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information; and abnormal prompt information for the target live broadcast room for the preset specific interruption event is generated and an alarm is issued.

[0057] It should be noted that Figure 1 The implementation environment scenario diagram of the live broadcast exception handling method shown is only an example. The implementation environment scenario of the live broadcast exception handling method described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application. It is known to those skilled in the art that with the evolution of data processing and the emergence of new business scenarios, the technical solution provided by the present application is also applicable to similar technical problems.

[0058] The solutions provided by the embodiments of the present application are specifically described by the following embodiments. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0059] This embodiment will be described from the perspective of a live broadcast exception handling device, which can be specifically integrated into a computer device, which can be a server, and this application does not limit this.

[0060] See also Figure 2 , Figure 2 1 is a flow chart of a live broadcast exception handling method provided in an embodiment of the present application. The live broadcast exception handling method includes:

[0061] In step 101, the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs are obtained from the real-time interruption database.

[0062] Among them, the real-time interruption database can be a database for storing interruption data of the live broadcast room, and can be a real-time data warehouse (referred to as real-time data warehouse). The interruption data can include relevant information describing a preset specific interruption event that occurred in the live broadcast room, and can include the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurred. Optionally, the real-time interruption database can also include the identity document (referred to as ID) of the anchor corresponding to the live broadcast room where the preset specific interruption event occurred, the client ID where the interruption occurred, the user ID and other information, which can be specifically set according to the event requirements, and this application does not limit it here.

[0063] A flow interruption may refer to a situation in which a live broadcast room fails to pull the video stream of the live broadcast room, resulting in a black screen, silence, etc. in the live broadcast room. The preset specific flow interruption event may include a situation in which the live broadcast room video stream is not pulled within a preset time after the live broadcast audience terminal enters the live broadcast room. For example, the preset specific flow interruption event may refer to an event in which a flow interruption occurs from the time the audience enters the live broadcast room. The live broadcast audience terminal may be a client of the live broadcast room. The preset time may be a pre-set time for determining whether a flow interruption occurs. For example, when the video stream of the live broadcast room is not pulled within the preset time, it may be considered that a flow interruption occurs. When the video stream of the live broadcast room is pulled within the preset time, it may be considered that no flow interruption occurs. The live broadcast room video stream may be the video stream of the live broadcast room. The occurrence time may be the time when the preset specific flow interruption event occurs. The live broadcast room identifier may be the identification information of the live broadcast room where the preset specific flow interruption event occurs. The identification information may be information that uniquely identifies a live broadcast room. For example, it may be the ID of the live broadcast room, such as the room number (room ID) of the live broadcast.

[0064] In step 102, the preset specific interruption events are aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption events of at least one live broadcast room.

[0065] Among them, the occurrence frequency information can be information that measures the frequency and number of preset specific interruption events that occur in the live broadcast room. For example, it can include the number of preset specific interruption events that occur within a period of time, and can also include information such as the fluctuation rate of the number of preset specific interruption events that occur within two preset time periods. The specific duration of the time period can be set according to actual needs, and the fluctuation rate can be used to measure the fluctuation of the number of preset specific interruption events that occur in a live broadcast room within two time periods.

[0066] Among them, there can be many ways to aggregate and process the preset specific interruption events based on the occurrence time and the live broadcast room identification. For example, according to the live broadcast room identification corresponding to each preset specific interruption event, the preset specific interruption events occurring in each live broadcast room can be counted. According to the occurrence time corresponding to each preset specific interruption event occurring in each live broadcast room, the occurrence frequency information of the preset specific interruption events occurring in at least one live broadcast room can be obtained.

[0067] In one embodiment, the preset specific interruption events can be aggregated based on the live broadcast room identifier based on the page replacement algorithm (LRU algorithm). For example, the live broadcast room identifier can be cached based on the improved LRU algorithm. When a live broadcast room identifier is not accessed again within a preset time period (for example, 24 hours) (that is, the live broadcast room corresponding to the live broadcast room identifier has not experienced a new preset specific interruption event), it will be deleted from the corresponding LRU list to reduce the cache size of the LRU. At the same time, the live broadcast room identifier that has not been accessed within the preset time period indicates that the live broadcast room corresponding to the live broadcast room identifier has not experienced a new preset specific interruption event, that is, no abnormality has occurred in the live broadcast room. Therefore, the live broadcast room identifier can be deleted, and there is no need to monitor the live broadcast room for abnormalities, thereby improving the efficiency of monitoring abnormalities in live broadcasts.

[0068] Optionally, a visual log dashboard can be generated based on the results of the aggregation processing, so that the relevant technical personnel who handle the live broadcast abnormalities can intuitively obtain the situation of preset specific interruption events occurring in each live broadcast room, and then more accurately investigate the causes of the abnormalities in the live broadcast rooms where the abnormalities occur.

[0069] In step 103, an abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information.

[0070] Among them, the target live broadcast room may be the live broadcast room where the abnormality occurs.

[0071] There are many ways to determine the abnormal target live broadcast room in the live broadcast room based on the frequency information. For example, the number of interruptions in the live broadcast room within a preset time period can be counted based on the frequency information, and the fluctuation rate of the number of interruptions in the live broadcast room within an adjacent preset time period can be calculated based on the number of interruptions. The abnormal target live broadcast room can be determined in the live broadcast room based on the fluctuation rate of the number of interruptions.

[0072] Among them, the preset time period can be a pre-set time period, for example, it can be a time period of one minute, ten minutes, one hour, etc. The number of interruptions can be the number of preset specific interruption events that occur in the live broadcast room within a preset time period, and the fluctuation rate of the number of interruptions can be a measure of the fluctuation of the number of interruptions corresponding to two adjacent preset time periods.

[0073] There are many ways to calculate the volatility of the number of interruptions in the live broadcast room within adjacent preset time periods based on the number of interruptions. For example, the difference between the number of interruptions in the live broadcast room corresponding to two adjacent preset time periods can be calculated, and the difference can be divided by the number of interruptions corresponding to the previous preset time period of the two adjacent preset time periods to obtain the volatility of the number of interruptions in the adjacent preset time periods. For example, the number of interruptions caused by a preset specific interruption event in a preset time period of the live broadcast room is 8 times, and the number of interruptions caused by a preset specific interruption event in the next time period of the preset time period is 12 times. Then, the difference between the number of interruptions in the live broadcast room corresponding to the two adjacent preset time periods can be calculated as 12-8=4, so that the difference 4 can be divided by the number of interruptions corresponding to the previous preset time period of the two adjacent preset time periods 8, and the volatility of the number of interruptions can be obtained as 4 / 8=50%.

[0074] After calculating the fluctuation rate of the number of interruptions in the live broadcast room within the adjacent preset time period according to the number of interruptions, the abnormal target live broadcast room can be determined in the live broadcast room based on the fluctuation rate of the number of interruptions. There are many ways to determine the abnormal target live broadcast room in the live broadcast room based on the fluctuation rate of the number of interruptions. For example, a fluctuation rate threshold can be preset. When the fluctuation rate of the number of interruptions corresponding to the live broadcast room is greater than the fluctuation rate threshold, the live broadcast room can be determined as an abnormal live broadcast room with abnormalities.

[0075] Among them, the volatility threshold can be a critical value of volatility. When the volatility of the number of interruptions is greater than the critical value, it can be considered that an abnormality has occurred in the live broadcast room. When the volatility of the number of interruptions is not greater than the critical value, it can be considered that no abnormality has occurred in the live broadcast room. The specific value of the volatility threshold can be set according to actual conditions. For example, it can be 20%, 30%, etc., and this application is not limited here.

[0076] In one embodiment, when the number of preset specific interruption events occurring in a live broadcast room within a preset time period is greater than a preset interruption number threshold, the live broadcast room can be determined as an abnormal live broadcast room. The preset interruption number threshold can be a preset critical value of the number of interruptions. When the corresponding number of interruptions within the preset time period is greater than the critical value, it can indicate that an abnormality has occurred in the current live broadcast room. When the corresponding number of interruptions within the preset time period is not greater than the critical value, it can indicate that no abnormality has occurred in the current live broadcast room.

[0077] In step 104, abnormal prompt information for a preset specific interruption event is generated for the target live broadcast room and an alarm is issued.

[0078] Among them, the abnormal prompt information can be prompt information indicating the abnormal live broadcast room, for example, it can be displayed in the form of a message on the relevant page, for example, a pop-up window message "abnormality occurred in live broadcast room X" can be generated in the relevant page of live broadcast abnormality processing for prompting, etc. Live broadcast abnormality processing can refer to the process of troubleshooting the abnormal cause of the target live broadcast room with an abnormality, and can also refer to the process of troubleshooting the cause of the interruption of a preset specific interruption event that occurred in the abnormal target live broadcast room. In this way, the abnormal prompt information based on the real-time alarm can perform live broadcast abnormality processing on the target live broadcast room.

[0079] In one embodiment, live broadcast abnormality processing can be performed on the live broadcast room with abnormality according to the relevant logs of the preset specific interruption event stored in advance. For example, alarm query information for target abnormal prompt information can be received, and the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information can be obtained according to the time relationship between the alarm time and the query time.

[0080] Among them, the target abnormal prompt information can be abnormal prompt information to be queried, the alarm query information can be information requesting to query the alarm generated by the target abnormal prompt information, the alarm query information can include the alarm time corresponding to the target abnormal prompt information, and the query time corresponding to the alarm query information, the alarm time can be the time of alarming the target abnormal prompt information, and can also be the generation time of the target abnormal prompt information, the query time can be the time of querying the target abnormal prompt information, that is, the generation time of the alarm query information, etc. The time relationship can include the number of time intervals, the order of time, etc. The abnormal live broadcast room can be the live broadcast room with abnormalities indicated by the target abnormal prompt information. The target local log information can be the local log information corresponding to the preset specific interruption event that occurs in the abnormal live broadcast room. The local log information can be a client log generated in the corresponding terminal device according to the preset specific interruption event that occurs in the abnormal live broadcast room, the terminal device can be the terminal device where the client corresponding to the preset specific interruption event that occurs in the abnormal live broadcast room is located, and the client log can include the log of the live broadcast room stored locally by the terminal device.

[0081] Optionally, the client identifier of the live broadcast audience end where a preset specific interruption event occurs is also obtained in the real-time interruption database. There may be multiple ways to obtain the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information based on the time relationship between the alarm time and the query time. For example, when the alarm time and the query time meet the preset time condition, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room may be obtained according to the client identifier. When the alarm time and the query time do not meet the preset time condition, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room may be obtained according to the preset offline interruption database and the client identifier.

[0082] The client identifier may be the identification information of the client that generates the preset specific interruption event in the live broadcast room, and may be a client ID or a user ID, etc. The preset time condition may be a pre-set time condition, for example, it may be a condition for determining whether the alarm time and the query time are on the same day, or it may be a condition for determining whether the time interval between the alarm time and the query time is within a preset time interval, etc. The offline interruption database may be used to store abnormal log information corresponding to the preset specific interruption event that occurs in the live broadcast room, for example, it may be an offline data warehouse. The abnormal log information may include log information generated or recorded after the preset specific interruption event occurs, and may be used to investigate the abnormal cause of the preset specific interruption event that occurs.

[0083] Among them, the determination of the preset time condition can be related to the time when the terminal device stores local log information. For example, when the terminal device stores local log information for one day, the preset time condition can be a condition for determining whether the time interval between the alarm time and the query time is within one day; when the time when the terminal device stores local log information is cleared after the same day, the preset time condition can be a condition for determining whether the alarm time and the query time are within the same day, and so on.

[0084] When the alarm time and the query time do not meet the preset time conditions, it indicates that the terminal device corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room has cleared the corresponding local log information. At this time, it is necessary to obtain the local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room through the abnormal log information stored in the offline interruption database. Among them, there can be multiple ways to obtain the target local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room according to the preset offline interruption database and the client identifier. For example, according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, the target abnormal log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room can be filtered out from the abnormal log information stored in the preset offline interruption database, the target local log storage address can be extracted from the target abnormal log information, and the target local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room can be obtained based on the target local log storage address.

[0085] Among them, the target abnormal log information can be the abnormal log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, the target local log storage address can be the local log storage address corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, the local log storage address can be the address for storing local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, and can be pre-stored in the abnormal log information. The local log information can be a local log generated by the terminal device based on the preset specific interruption event that occurred when entering the live broadcast room, and can include the client log corresponding to the live broadcast room.

[0086] When the alarm time and the query time meet the preset time conditions, it indicates that the corresponding terminal device of the preset specific interruption event that occurred in the abnormal live broadcast room also stores the corresponding local log information. At this time, the local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room can be directly obtained in the corresponding terminal device. Among them, according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, there are many ways to filter out the target abnormal log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room from the abnormal log information stored in the preset offline interruption database. For example, according to the client identifier corresponding to each preset specific interruption event in the abnormal live broadcast room, the abnormal log information containing the client identifier can be queried in the abnormal log information stored in the preset offline interruption database, and the queried abnormal log information is determined as the target abnormal log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room.

[0087] Among them, there can be multiple ways to obtain the target local log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room according to the client identifier. For example, according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, the target terminal corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room can be determined, and the target local log information corresponding to the abnormal live broadcast room stored in the target terminal can be obtained.

[0088] The target terminal may be a terminal where a preset specific interruption event occurs in the abnormal live broadcast room. Optionally, the client identifier may be a client ID directly, or a terminal ID or a user ID, and the corresponding terminal may be determined according to the client identifier.

[0089] In one embodiment, when a preset specific disconnection event occurs when a live broadcast viewer enters a live broadcast room, the local log storage address of the client real-time log of the live broadcast viewer and the disconnection detection log are obtained. The disconnection detection log can be a log used to detect the occurrence of a preset specific disconnection event. Relevant information can be obtained according to a preset configuration to generate a disconnection detection log. For example, the disconnection-related information may include device information, user information, live broadcast disconnection information, and other disconnection-related information of a terminal device where the live broadcast viewer is located. The device information may include an Internet Protocol Address (IP address), memory usage, graphics processor (GPU) usage, central processing unit (CPU) usage, and player status of the terminal device. The live broadcast information may include a uniform resource locator (URL) of the live broadcast room, the occurrence time of the preset specific disconnection event, a live broadcast room ID, an anchor ID, and other information. The user information may include user ID and other information. Therefore, the local log storage address can be written into the interruption detection log to obtain the abnormal log information. Since the real-time data warehouse needs to consume a large amount of cluster resources, the abnormal log key information can be extracted from the abnormal log information. The abnormal log key information may include the occurrence time of the preset specific interruption event, the client identifier, and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurred. In this way, the abnormal log key information can be stored in the real-time interruption database, and the abnormal log information can be stored in the offline interruption database. By aggregating the key information of the abnormal log stored in the real-time interruption database, the target live broadcast room with the abnormality can be determined, so that real-time abnormal prompt information can be generated based on the target live broadcast room and timely alarm can be issued, which can increase the speed at which relevant technical personnel obtain the prompt information of the abnormal interruption in the live broadcast room, and perform live broadcast abnormality processing on the target live broadcast room based on the abnormal prompt information of the real-time alarm, so as to realize timely processing of the abnormal situation in the live broadcast room, so that according to the abnormal log information stored in the offline interruption database, the local log information corresponding to the preset specific interruption event occurring in the live broadcast room with the abnormality can be obtained, so as to conduct a systematic investigation on the interruption cause of the preset specific interruption event based on the local log information, thereby improving the efficiency of live broadcast abnormality processing.

[0090] In the existing live broadcast exception handling method, statistics are often taken when a live broadcast is interrupted. This interruption statistics is relatively general. As long as the audience's network situation is slightly jittery, the video stream may not be pulled and interruption may occur. For example, the audience is in a subway or elevator and other places with poor network, which makes the online statistics of live broadcast interruption frequent. However, since many reported data are caused by normal network jitters, such as entering the subway / elevator, the live video stream will be restored after a period of network recovery, and because the number of reports is too large, it can only be stored offline, resulting in too much data volume and inability to handle exceptions in time. Therefore, since the abnormal situations of live broadcast interruption are numerous and complex, the amount of data related to live broadcast exceptions counted is large, so it is impossible to handle the abnormal situation of live broadcast in time, which leads to low efficiency of live broadcast exception handling. To this end, the live broadcast exception handling method provided in the embodiment of the present application takes into account that the audience cannot watch the live video as soon as they enter the live broadcast room, which will make the audience unable to know the reason for the interruption, causing great trouble for watching the live broadcast. The interruption at this time has the greatest impact on the audience's viewing of the live broadcast. Therefore, the live broadcast room entry interruption situation (i.e., preset specific interruption events) that has the greatest impact on the user experience can be targeted and screened for monitoring, and the preset specific interruption events can be aggregated according to the key information corresponding to the preset specific interruption events stored in the real-time interruption database, so as to generate logs in real time and provide real-time prompts and alarms. In this way, the live broadcast exception handling method provided in the embodiment of the present application can monitor the first interruption of the live broadcast room, subdivide the direction of traditional live broadcast interruption monitoring, and make the interruption monitoring data better consumed. On the basis of the traditional abnormal log writing into the offline interruption database, the real-time interruption database is added to report, and by aggregating the key information stored in the real-time interruption database, the live broadcast room with abnormalities can be timely determined, and then the real-time alarm of the live broadcast room dimension can be achieved. In addition, the local log storage address is written in the abnormal log information and stored in the corresponding offline interruption database, which can realize the function of accurately querying historical logs and improve the efficiency of abnormal handling in the live broadcast room.

[0091] From the above, it can be seen that the embodiment of the present application obtains the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from the real-time interruption database, and the preset specific interruption event includes that the live broadcast audience terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room; the preset specific interruption event is aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room; the abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information; the abnormal prompt information of the target live broadcast room for the preset specific interruption event is generated and an alarm is issued, so as to perform live broadcast abnormal processing on the target live broadcast room based on the abnormal prompt information of the alarm. In this way, by obtaining the occurrence time of the preset specific interruption event and the live broadcast room identifier corresponding to the preset specific interruption event from the real-time interruption database, the preset specific interruption event is aggregated according to the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event in the live broadcast room, so as to determine the abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information, and generate real-time abnormal prompt information based on the target live broadcast room and issue an alarm, so as to perform live broadcast abnormality processing on the target live broadcast room based on the real-time alarm abnormal prompt information. In this way, by targeted screening of the situation where the user who has the greatest impact on the user's viewing experience begins to interrupt the flow when entering the live broadcast room, the abnormality of the live broadcast room is monitored, which can reduce the data interference of other unimportant interruption events. Based on the key information of the preset specific interruption event stored in the real-time interruption database, the abnormal situation in the live broadcast room is aggregated and the live broadcast room with abnormality is determined, so as to realize timely processing of the abnormal situation in the live broadcast room, thereby improving the efficiency of live broadcast abnormality processing.

[0092] This embodiment will be described from the perspective of a live broadcast exception processing device, which can be specifically integrated in a terminal.

[0093] For a better description of the embodiments of this application, please refer to Figure 3 , Figure 3 Another flowchart of the live broadcast exception handling method provided in the embodiment of the present application is as follows:

[0094] In step 201, in response to entering the live broadcast room, a timing operation is performed. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time period, a preset specific interruption event is determined to have occurred.

[0095] The timing operation may be an operation of recording time, for example, a timer may be used for timing operation. The preset duration may be a pre-configured duration, used to determine whether a disconnection event occurs. After entering the live broadcast room, if the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset duration, it can be determined that a preset specific disconnection event has occurred at this time. Optionally, when the live broadcast room video stream corresponding to the live broadcast room is pulled within the preset duration, the timing operation may be stopped.

[0096] Optionally, it is possible to pre-configure whether the current live broadcast room needs to be monitored for interruptions. For example, the current live broadcast room can be set to be monitored for interruptions by controlling the closed and open states of an interruption monitoring flag. Thus, in response to entering the live broadcast room, the state of the pre-configured interruption monitoring flag can be obtained. When the interruption monitoring flag is in the open state, a timing operation can be performed. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time, a preset specific interruption event is determined to have occurred.

[0097] In step 202, the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room are obtained, and the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event are stored in a preset real-time interruption database.

[0098] Among them, the occurrence time and live broadcast room identification corresponding to the preset specific interruption event stored in the real-time interruption database can be used to determine the abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific interruption event and issue an alarm.

[0099] Among them, there are many ways to obtain the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room, and store the occurrence time and live broadcast room identifier corresponding to the preset specific interruption event in the preset real-time interruption database. For example, local log information can be generated based on the occurrence of the preset specific interruption event, and the interruption detection log corresponding to the preset specific interruption event can be recorded, the local log information can be stored, and the local log storage address can be obtained. The abnormal log information corresponding to the preset specific interruption event is determined according to the local log storage address and the interruption detection log, the abnormal log key information is extracted from the abnormal log information, the abnormal log information is stored in the preset offline interruption database, and the abnormal log key information is stored in the preset real-time interruption database.

[0100] Among them, the interruption detection log can be a log for detecting a preset specific interruption event, and the relevant information can be obtained according to the configuration of the preset interruption monitoring rule to generate the interruption detection log. For example, it can include the device information, user information, live interruption information and other interruption related information of the terminal device where the live audience is located. The device information can include the Internet Protocol Address (IP address), memory usage, graphics processor (gpu) usage, central processing unit (cpu) usage and player status of the terminal device. The live broadcast information can include the uniform resource locator (url) of the live broadcast room, the occurrence time of the preset specific interruption event, the live broadcast room ID, the anchor ID and other information. The user information can include user ID and other information. The abnormal log key information can be the key information extracted from the abnormal log information. The specific key information can be set according to the actual business needs. For example, the abnormal log key information can include the occurrence time of the preset specific interruption event and the live broadcast room ID of the live broadcast room, and can also include the client ID corresponding to the preset specific interruption event.

[0101] In order to quickly and in real time determine the live broadcast room with abnormalities based on the preset specific interruption events, and because the real-time data warehouse needs to consume a large amount of cluster resources, lightweight and critical exception log key information can be extracted from the exception log information, and the exception log key information can be stored in the real-time interruption database, so that the preset specific interruption events can be aggregated based on the exception log key information of the preset specific interruption events stored in the real-time interruption database, so that the live broadcast room with abnormalities can be determined in real time, and based on the relatively rich exception log information stored in the offline interruption database, the local log information corresponding to the preset specific interruption events occurring in the live broadcast room with abnormalities can be obtained, so that the live broadcast anomaly can be processed based on the local log information, and the cause of the interruption can be quickly and accurately investigated, thereby improving the efficiency of live broadcast anomaly processing.

[0102] Optionally, the storage time of local log information can be pre-configured to ensure that the storage time of local log information is long enough, so as to prepare for the subsequent investigation of live broadcast anomalies. For example, the storage time can be configured to be 2 months to one year, etc., which can be set according to actual conditions.

[0103] From the above, it can be seen that the embodiment of the present application performs a timing operation in response to entering the live broadcast room. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the occurrence of a preset specific disconnection event is determined; the occurrence time of the preset specific disconnection event and the live broadcast room identifier of the live broadcast room are obtained, and the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event are stored in a preset real-time disconnection database. The occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event stored in the real-time disconnection database are used to determine the abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific disconnection event, and issue an alarm. In this way, when the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the preset specific disconnection event that has occurred is determined, thereby obtaining the occurrence time of the preset specific disconnection event and the live broadcast room identifier of the live broadcast room, and storing the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event in the preset real-time disconnection database. In this way, based on the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event stored in the real-time disconnection database, the abnormal target live broadcast room can be determined in the live broadcast room, and abnormal prompt information for the preset specific disconnection event is generated for the target live broadcast room and an alarm is issued, so that real-time processing of abnormal situations in the live broadcast room can be achieved, thereby improving the efficiency of live broadcast abnormal processing.

[0104] In order to better implement the above method, an embodiment of the present invention further provides a live broadcast exception processing device, which can be integrated in a computer device, and the computer device can be a server.

[0105] For example, Figure 4 As shown, it is a structural diagram of a live broadcast exception processing device provided in an embodiment of the present application. The live broadcast exception processing device may include an acquisition unit 301, an aggregation unit 302, a determination unit 303 and an alarm unit 304, as follows:

[0106] The acquisition unit 301 is used to acquire the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from the real-time interruption database, wherein the preset specific interruption event includes that the live broadcast viewer terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room;

[0107] The aggregation unit 302 is used to aggregate the preset specific interruption events based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption events of at least one live broadcast room;

[0108] A determination unit 303, configured to determine an abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information;

[0109] The alarm unit 304 is used to generate abnormal prompt information for the target live broadcast room for a preset specific interruption event and issue an alarm.

[0110] In one embodiment, the determining unit 303 is configured to:

[0111] Count the number of interruptions in the live broadcast room within a preset time period based on the frequency information;

[0112] Calculate the fluctuation rate of the number of interruptions in the live broadcast room within the adjacent preset time period according to the number of interruptions;

[0113] Based on the fluctuation rate of the number of interruptions, abnormal target live broadcast rooms are determined among the live broadcast rooms.

[0114] In one embodiment, the live broadcast exception processing device further includes:

[0115] An alarm query unit, used to receive alarm query information for target abnormal prompt information, the alarm query information including an alarm time corresponding to the target abnormal prompt information and a query time corresponding to the alarm query information;

[0116] The local log acquisition unit is used to obtain the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information according to the time relationship between the alarm time and the query time. The target local log information is the local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room.

[0117] In one embodiment, the client identifier of the live broadcast viewer terminal where the preset specific interruption event occurs is also obtained in the real-time interruption database, and the local log acquisition unit includes:

[0118] The first log acquisition subunit is used to acquire the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room according to the client identifier when the alarm time and query time meet the preset time condition;

[0119] The second log acquisition sub-unit is used to obtain the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room according to the preset offline interruption database and the client identifier when the alarm time and the query time do not meet the preset time conditions. The offline interruption database is used to store the abnormal log information corresponding to the preset specific interruption event occurring in the live broadcast room.

[0120] In one embodiment, the second log acquisition subunit is used to:

[0121] According to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room, the target abnormal log information corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room is filtered out from the abnormal log information stored in the preset offline interruption database;

[0122] Extract the target local log storage address from the target abnormal log information;

[0123] Based on the target local log storage address, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is obtained.

[0124] In one embodiment, the first log acquisition subunit is used to:

[0125] Determine the target terminal corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room;

[0126] Get the target local log information corresponding to the abnormal live broadcast room stored in the target terminal.

[0127] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0128] From the above, it can be seen that in the embodiment of the present application, the acquisition unit 301 obtains the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from the real-time interruption database, and the preset specific interruption event includes that the live broadcast audience terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room; the aggregation unit 302 aggregates the preset specific interruption event based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room; the determination unit 303 determines the abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information; the alarm unit 304 generates abnormal prompt information for the target live broadcast room for the preset specific interruption event and issues an alarm, so as to perform live broadcast abnormal processing on the target live broadcast room based on the abnormal prompt information of the alarm. In this way, by obtaining the occurrence time of the preset specific interruption event and the live broadcast room identifier corresponding to the preset specific interruption event from the real-time interruption database, the preset specific interruption event is aggregated according to the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption event in the live broadcast room, so as to determine the abnormal target live broadcast room in the live broadcast room according to the occurrence frequency information, and generate real-time abnormal prompt information based on the target live broadcast room and issue an alarm, so as to perform live broadcast abnormality processing on the target live broadcast room based on the real-time alarm abnormal prompt information. In this way, by targeted screening of the situation where the user who has the greatest impact on the user's viewing experience begins to interrupt the flow when entering the live broadcast room, the abnormality of the live broadcast room is monitored, which can reduce the data interference of other unimportant interruption events. Based on the key information of the preset specific interruption event stored in the real-time interruption database, the abnormal situation in the live broadcast room is aggregated and the live broadcast room with abnormality is determined, so as to realize timely processing of the abnormal situation in the live broadcast room, thereby improving the efficiency of live broadcast abnormality processing.

[0129] In order to better implement the above method, an embodiment of the present invention further provides a live broadcast exception processing device, which can be integrated in a computer device, and the computer device can be a terminal.

[0130] For example, Figure 5 As shown, it is another structural schematic diagram of the live broadcast exception processing device provided in an embodiment of the present application. The live broadcast exception processing device may include a timing unit 401 and a storage unit 402, as follows:

[0131] The timing unit 401 is used to perform a timing operation in response to entering the live broadcast room, and if the live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time, determine the occurrence of a preset specific interruption event;

[0132] The storage unit 402 is used to obtain the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room, and store the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event in a preset real-time interruption database. The occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event stored in the real-time interruption database are used to determine the abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific interruption event, and issue an alarm.

[0133] In one embodiment, the storage unit 402 is used to:

[0134] Generate local log information based on the preset specific disconnection event that occurs, and record the disconnection detection log corresponding to the preset specific disconnection event;

[0135] Store local log information, obtain the local log storage address, and determine the abnormal log information corresponding to the preset specific disconnection event according to the local log storage address and the disconnection detection log;

[0136] Extract the exception log key information from the exception log information, store the exception log information in a preset offline interruption database, and store the exception log key information in a preset real-time interruption database. The exception log key information includes the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room.

[0137] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0138] From the above, it can be seen that the embodiment of the present application performs a timing operation in response to entering the live broadcast room through the timing unit 401. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the preset specific flow interruption event is determined; the storage unit 402 obtains the occurrence time of the preset specific flow interruption event and the live broadcast room identifier of the live broadcast room, and stores the occurrence time and live broadcast room identifier corresponding to the preset specific flow interruption event in the preset real-time flow interruption database. The occurrence time and live broadcast room identifier corresponding to the preset specific flow interruption event stored in the real-time flow interruption database are used to determine the abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific flow interruption event, and issue an alarm. In this way, when the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the preset specific disconnection event that has occurred is determined, thereby obtaining the occurrence time of the preset specific disconnection event and the live broadcast room identifier of the live broadcast room, and storing the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event in the preset real-time disconnection database. In this way, based on the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event stored in the real-time disconnection database, the abnormal target live broadcast room can be determined in the live broadcast room, and abnormal prompt information for the preset specific disconnection event is generated for the target live broadcast room and an alarm is issued, so that real-time processing of abnormal situations in the live broadcast room can be achieved, thereby improving the efficiency of live broadcast abnormal processing.

[0139] The present application also provides a computer device, such as Figure 6 As shown, it shows a schematic diagram of the structure of a computer device involved in an embodiment of the present application, and the computer device may be a server or a terminal. Specifically:

[0140] The computer device may include one or more processing core processors 501, one or more computer-readable storage media memories 502, a power supply 503, an input unit 504 and other components. Those skilled in the art will appreciate that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:

[0141] The processor 501 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, the processor 501 performs various functions of the computer device and processes data. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501.

[0142] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.

[0143] The computer device also includes a power supply 503 for supplying power to various components. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 503 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0144] The computer device may further include an input unit 504, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0145] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 501 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application programs stored in the memory 502, thereby realizing various functions, as follows:

[0146] The occurrence time of a preset specific disconnection event and the live broadcast room identifier of the live broadcast room where the preset specific disconnection event occurred are obtained from the real-time disconnection database, wherein the preset specific disconnection event includes that the live broadcast room video stream is not pulled within a preset time after the live broadcast audience terminal enters the live broadcast room; the preset specific disconnection events are aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific disconnection events in at least one live broadcast room; an abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information; abnormal prompt information for the target live broadcast room for the preset specific disconnection event is generated and an alarm is issued.

[0147] or,

[0148] In response to entering the live broadcast room, a timing operation is performed. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the occurrence of a preset specific disconnection event is determined; the occurrence time of the preset specific disconnection event and the live broadcast room identifier of the live broadcast room are obtained, and the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event are stored in a preset real-time disconnection database. The occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event stored in the real-time disconnection database are used to determine an abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific disconnection event, and issue an alarm.

[0149] The specific implementation of each of the above operations can be found in the previous embodiments, which will not be described in detail here. It should be noted that the computer device provided in the embodiment of the present application and the method for handling live broadcast exceptions in the above embodiment belong to the same concept, and its specific implementation process is detailed in the above method embodiment, which will not be described in detail here.

[0150] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0151] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the live broadcast exception handling methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0152] The occurrence time of a preset specific disconnection event and the live broadcast room identifier of the live broadcast room where the preset specific disconnection event occurred are obtained from the real-time disconnection database, wherein the preset specific disconnection event includes that the live broadcast room video stream is not pulled within a preset time after the live broadcast audience terminal enters the live broadcast room; the preset specific disconnection events are aggregated based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific disconnection events in at least one live broadcast room; an abnormal target live broadcast room is determined in the live broadcast room according to the occurrence frequency information; abnormal prompt information for the target live broadcast room for the preset specific disconnection event is generated and an alarm is issued.

[0153] or,

[0154] In response to entering the live broadcast room, a timing operation is performed. If the live broadcast room video stream corresponding to the live broadcast room is not pulled within the preset time period, the occurrence of a preset specific disconnection event is determined; the occurrence time of the preset specific disconnection event and the live broadcast room identifier of the live broadcast room are obtained, and the occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event are stored in a preset real-time disconnection database. The occurrence time and the live broadcast room identifier corresponding to the preset specific disconnection event stored in the real-time disconnection database are used to determine an abnormal target live broadcast room in the live broadcast room, generate abnormal prompt information for the target live broadcast room for the preset specific disconnection event, and issue an alarm.

[0155] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0156] Since the instructions stored in the computer-readable storage medium can execute the steps in any live broadcast exception handling method provided in the embodiments of the present application, the beneficial effects that can be achieved by any live broadcast exception handling method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0157] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations provided in the above embodiments.

[0158] The above is a detailed introduction to a live broadcast exception handling method, device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for handling live broadcast exceptions, characterized in that: include: Acquire the occurrence time of a preset specific interruption event and the live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs from the real-time interruption database, wherein the preset specific interruption event includes that the live broadcast viewer terminal fails to pull the live broadcast room video stream within a preset time after entering the live broadcast room; Aggregate the preset specific interruption events based on the occurrence time and the live broadcast room identifier to obtain the occurrence frequency information of the preset specific interruption events in at least one live broadcast room; Counting the number of interruptions in the live broadcast room within a preset time period based on the occurrence frequency information; Calculating the fluctuation rate of the number of interruptions in the live broadcast room within adjacent preset time periods according to the number of interruptions; Determine an abnormal target live broadcast room in the live broadcast room based on the fluctuation rate of the number of interruptions; Generate abnormal prompt information for the target live broadcast room for the preset specific interruption event and issue an alarm.

2. The live broadcast exception handling method according to claim 1, characterized in that: After generating the abnormal prompt information of the target live broadcast room for the preset specific interruption event and issuing an alarm, it also includes: Receive alarm query information for target abnormal prompt information, the alarm query information including an alarm time corresponding to the target abnormal prompt information and a query time corresponding to the alarm query information; According to the time relationship between the alarm time and the query time, the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information is obtained, and the target local log information is the local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room.

3. The live broadcast exception handling method according to claim 2, characterized in that: The real-time interruption database also obtains the client identifier of the live broadcast viewer terminal where the preset specific interruption event occurs, and the target local log information corresponding to the abnormal live broadcast room indicated by the target abnormal prompt information is obtained according to the time relationship between the alarm time and the query time, including: When the alarm time and the query time meet the preset time condition, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is obtained according to the client identifier; When the alarm time and the query time do not meet the preset time condition, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is obtained according to the preset offline interruption database and the client identifier. The offline interruption database is used to store the abnormal log information corresponding to the preset specific interruption event occurring in the live broadcast room.

4. The live broadcast exception handling method according to claim 3, characterized in that: The obtaining, according to the preset offline interruption database and the client identifier, target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room includes: According to the client identifier corresponding to the preset specific interruption event occurring in the abnormal live broadcast room, the target abnormal log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is screened out from the abnormal log information stored in the preset offline interruption database; Extracting a target local log storage address from the target abnormal log information; Based on the target local log storage address, the target local log information corresponding to the preset specific interruption event occurring in the abnormal live broadcast room is obtained.

5. The live broadcast exception handling method according to claim 3, characterized in that: The step of obtaining target local log information corresponding to a preset specific interruption event occurring in the abnormal live broadcast room according to the client identifier includes: Determine the target terminal corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room according to the client identifier corresponding to the preset specific interruption event that occurred in the abnormal live broadcast room; Obtain the target local log information corresponding to the abnormal live broadcast room stored in the target terminal.

6. A method for handling live broadcast exceptions, characterized in that: include: In response to entering the live broadcast room, a timing operation is performed, and if the live broadcast room video stream corresponding to the live broadcast room is not pulled within a preset time period, a preset specific interruption event is determined to have occurred; Obtain the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room, store the occurrence time corresponding to the preset specific interruption event and the live broadcast room identifier in a preset real-time interruption database, and the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event stored in the real-time interruption database are used to perform aggregation processing on the preset specific interruption events to obtain the occurrence frequency information of the preset specific interruption event of at least one live broadcast room, count the number of interruptions of the live broadcast room within a preset time period based on the occurrence frequency information, calculate the fluctuation rate of the number of interruptions of the live broadcast room within adjacent preset time periods based on the number of interruptions, determine an abnormal target live broadcast room in the live broadcast room based on the fluctuation rate of the number of interruptions, generate abnormal prompt information for the target live broadcast room for the preset specific interruption event, and issue an alarm.

7. The method for handling live broadcast exceptions according to claim 6, characterized in that: The obtaining the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room, and storing the occurrence time and the live broadcast room identifier corresponding to the preset specific interruption event in a preset real-time interruption database, includes: Generate local log information based on the preset specific disconnection event that occurs, and record the disconnection detection log corresponding to the preset specific disconnection event; The local log information is stored to obtain a local log storage address, and the abnormal log information corresponding to the preset specific interruption event is determined according to the local log storage address and the interruption detection log; Extract the exception log key information from the exception log information, store the exception log information in a preset offline interruption database, and store the exception log key information in a preset real-time interruption database, wherein the exception log key information includes the occurrence time of the preset specific interruption event and the live broadcast room identifier of the live broadcast room.

8. A live broadcast exception processing device, characterized in that: include: An acquisition unit is used to acquire, from a real-time interruption database, an occurrence time of a preset specific interruption event and a live broadcast room identifier of the live broadcast room where the preset specific interruption event occurs, wherein the preset specific interruption event includes that a live broadcast viewer terminal fails to pull a live broadcast room video stream within a preset time after entering the live broadcast room; an aggregation unit, configured to aggregate the preset specific interruption event based on the occurrence time and the live broadcast room identifier, and obtain occurrence frequency information of the preset specific interruption event in at least one live broadcast room; A determination unit, configured to count the number of interruptions in the live broadcast room within a preset time period based on the occurrence frequency information, calculate a fluctuation rate of the number of interruptions in the live broadcast room within an adjacent preset time period according to the number of interruptions, and determine an abnormal target live broadcast room in the live broadcast room based on the fluctuation rate of the number of interruptions; An alarm unit is used to generate abnormal prompt information for the target live broadcast room in response to the preset specific interruption event and issue an alarm.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the live broadcast exception handling method described in any one of claims 1 to 7.

10. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the live broadcast exception handling method described in any one of claims 1 to 7 when executing the computer program.