CN112738538A - Live broadcast room on-hook behavior detection method and device, electronic equipment and computer readable storage medium - Google Patents

Live broadcast room on-hook behavior detection method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112738538A
CN112738538A CN202011556196.4A CN202011556196A CN112738538A CN 112738538 A CN112738538 A CN 112738538A CN 202011556196 A CN202011556196 A CN 202011556196A CN 112738538 A CN112738538 A CN 112738538A
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
target live
packet data
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011556196.4A
Other languages
Chinese (zh)
Other versions
CN112738538B (en
Inventor
刘勃
赵沙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhenai Jieyun Information Technology Co ltd
Original Assignee
Shenzhen Zhenai Jieyun Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhenai Jieyun Information Technology Co ltd filed Critical Shenzhen Zhenai Jieyun Information Technology Co ltd
Priority to CN202011556196.4A priority Critical patent/CN112738538B/en
Publication of CN112738538A publication Critical patent/CN112738538A/en
Application granted granted Critical
Publication of CN112738538B publication Critical patent/CN112738538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a live broadcast room on-hook behavior detection method, a live broadcast room on-hook behavior detection device, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: receiving an abnormal live event, and determining a target live broadcast room based on the live event; continuously acquiring heartbeat packet data of the target live broadcast room based on the current time; and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room. The embodiment of the application has the advantage of improving the detection efficiency of the hang-up behavior.

Description

Live broadcast room on-hook behavior detection method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a live broadcast room on-hook behavior detection method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the continuous development of live broadcast services, the demand of resources required by live broadcast is increased, and in the face of more and more live broadcast scenes, live broadcast monitoring becomes an important work of live broadcast operation.
In the actual live broadcasting process, a common abnormal situation of live broadcasting is that a main broadcast already exits a live broadcasting room but a live broadcasting room is not closed, the live broadcasting room is defined as an on-hook live broadcasting room, bandwidth resources are wasted in the live broadcasting room, audience watching experience is reduced, privacy of the main broadcast can be exposed, and the like, so that the on-hook live broadcasting room needs to be detected and cleaned in time; at present, mainly carry out artifical the detection to the live broadcast room through relevant staff, but this kind of detection mode need consume a large amount of manpowers to it is long to detect cycle time, and whole detection flow is complicated, and detection efficiency is low, and user experience is not high.
Disclosure of Invention
The embodiment of the application provides a live broadcast room on-hook behavior detection method and device, electronic equipment and a computer readable storage medium, and is used for improving detection efficiency of the live broadcast room on-hook behavior and an on-hook live broadcast room.
In a first aspect, an embodiment of the present application provides a live broadcast room hang-up behavior detection method, where the method includes:
receiving an abnormal live event, and determining a target live broadcast room based on the live event;
continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
In one embodiment, the determining whether the heartbeat packet data is in an abnormal state includes:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
In one embodiment, after the performing the mark to be determined on the target live broadcast room, the method further includes: collecting the audio stream of the target live broadcast room at the current time; acquiring the audio decibel of the audio stream; judging whether the audio decibel is larger than a preset decibel threshold value or not; if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
In one embodiment, after the performing the mark to be determined on the target live broadcast room, the method further includes: acquiring historical audio data of the target live broadcast room; performing silence detection on the historical audio data, and marking silence segments in the historical audio data; cutting the silence segment in the historical audio data to obtain detected audio data; substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice; if yes, performing heartbeat detection operation on the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In one embodiment, the performing a heartbeat detection operation on the target live broadcast room further includes: sending a heartbeat detection packet to the target live broadcast room; setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer; if yes, determining that no on-hook behavior exists in the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In one embodiment, the determining whether the heartbeat packet data is in the abnormal condition further includes: judging whether the current time has instant heartbeat packet data returned by the target live broadcast room; and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
In one embodiment, the obtaining heartbeat packet data of the target live broadcast room based on the current time further includes: determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time; extracting first heartbeat packet data of the target live broadcast room in the historical time period; setting a timer to obtain second heartbeat packet data of the second extraction time period; and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
In a second aspect, an embodiment of the present application provides a live broadcast room hang-up behavior detection apparatus, the apparatus includes:
the receiving unit is used for receiving an abnormal live event and determining a target live broadcast room based on the live event;
the acquisition unit is used for continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and the judging unit is used for judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
In one embodiment, in the aspect of determining whether the heartbeat packet data is in an abnormal state, the determining unit is specifically configured to:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
In one embodiment, after the to-be-determined mark is performed on the target live broadcast room, the determining unit is further configured to: collecting the audio stream of the target live broadcast room at the current time; acquiring the audio decibel of the audio stream; judging whether the audio decibel is larger than a preset decibel threshold value or not; if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
In one embodiment, in an aspect after the performing the mark-to-be-determined on the target live broadcast room, the determining unit is further configured to: acquiring historical audio data of the target live broadcast room; performing silence detection on the historical audio data, and marking silence segments in the historical audio data; cutting the silence segment in the historical audio data to obtain detected audio data; substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice; if yes, performing heartbeat detection operation on the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In one embodiment, in the aspect of performing the heartbeat detection operation on the target live broadcast room, the determining unit is specifically configured to: sending a heartbeat detection packet to the target live broadcast room; setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer; if yes, determining that no on-hook behavior exists in the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In one embodiment, in the aspect before the determining whether the heartbeat packet data is in the abnormal condition, the determining unit is specifically configured to: judging whether the current time has instant heartbeat packet data returned by the target live broadcast room; and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
In one embodiment, in the aspect of acquiring the heartbeat packet data of the target live broadcast room based on the current time, the acquiring unit is specifically configured to: determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time; extracting first heartbeat packet data of the target live broadcast room in the historical time period; setting a timer to obtain second heartbeat packet data of the second extraction time period; and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method according to the first aspect of the embodiments of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is executed by a processor to implement part or all of the steps described in the method according to the first aspect of the present application.
It can be seen that, in the embodiment of the application, the electronic device receives an abnormal live event, and determines a target live broadcast room based on the live event; continuously acquiring heartbeat packet data of the target live broadcast room based on the current time; and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room. So, can receive unusual live broadcast incident through electronic equipment, fix a position the target live broadcast room fast based on unusual live broadcast incident, judge whether there is the on-hook action in the target live broadcast room through the state of heartbeat packet data, can simplify the flow that the on-hook action detected in live broadcast room, shorten detection cycle, realize the short-term test to the on-hook live broadcast room, improve detection efficiency and user experience degree.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an application scene architecture diagram of a live broadcast room hang-up behavior detection method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a live broadcast room hang-up behavior detection method according to an embodiment of the present application;
fig. 3 is a schematic frame diagram of a live broadcast room hang-up behavior detection method according to an embodiment of the present application;
fig. 4 is a schematic frame diagram of a monitoring center according to an embodiment of the present application
FIG. 5 is a block diagram of an event center according to an embodiment of the present disclosure;
fig. 6 is a schematic frame diagram of another live broadcast room hang-up behavior detection method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device 700 according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a live broadcast room hang-up behavior detection apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
Electronic devices may include a variety of handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices communicatively connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1, fig. 1 is an application scene architecture diagram of a live broadcast hang-up behavior detection method according to an embodiment of the present application, and the live broadcast hang-up behavior detection method according to the present application may be applied to an application environment shown in fig. 1. The electronic device 101 performs network communication with the monitoring server 103 through a network, the electronic device 101 performs network communication with the client 102 through the network, and the monitoring server 103 performs network communication with the client 102 through the network, wherein the electronic device 101 may be but not limited to various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the monitoring server 103 may be implemented by an independent server or a server cluster formed by a plurality of servers. The electronic device 101 receives an abnormal live event monitored by the monitoring server 103, the electronic device 101 determines a target live broadcast room in the client 102 based on the live event, the electronic device 101 continuously acquires heartbeat packet data of the target live broadcast room based on the current time, the electronic device 101 judges whether the heartbeat packet data is in an abnormal state, if yes, it is determined that an on-hook behavior exists in the target live broadcast room, and after the on-hook behavior is detected, the electronic device 101 closes the target live broadcast room in the client 102.
Referring to fig. 2, fig. 2 is a schematic flowchart of a live broadcast room hang-up behavior detection method according to an embodiment of the present application, and the method is applied to the electronic device in fig. 1 as an example to explain the method, and includes the following steps:
step 201, receiving an abnormal live event, and determining a target live broadcast room based on the live event;
optionally, after the target live broadcast room is determined, a historical live broadcast room event corresponding to the target live broadcast room is obtained, the authenticity of the abnormal live broadcast event is verified based on the historical live broadcast event, and if the abnormal live broadcast event is true, step 202 is executed.
Wherein verifying the authenticity of the anomalous live event based on the historical live event comprises: generating a live broadcast flow based on the historical event occurrence time corresponding to the historical live broadcast event, judging whether the live broadcast flow is in an abnormal state, and if the live broadcast flow is in the abnormal state, determining that the abnormal live broadcast event is real.
In the specific implementation process, aiming at a live broadcast room, a live broadcast SDK is accessed into the live broadcast room, an electronic device is accessed into the live broadcast SDK to collect events generated by the live broadcast SDK, in a live broadcast mode, a channel is created, a channel is destroyed, a main broadcast enters a channel, a main broadcast leaves the channel, audiences join the channel and become main broadcasts (namely, the channel is on the air) and main broadcast leaves the channel and become audiences (namely, the channel is off the air), the live broadcast SDK generates corresponding events which are collected by the electronic device accessed into the live broadcast SDK, the events received by the electronic device are regular, any event cannot be continuously generated, for example, a live broadcast flow' creating a channel A-main broadcast joins a channel B-audiences and adding C-audiences leave the channel and then leaving the channel B-main broadcast, when only events corresponding to the same letter are reserved, the continuous events cannot be generated, and events corresponding to the same letter must occur in pairs, such as: the method comprises the steps of creating a spelling A-destroying channel A, an anchor joining channel B-an anchor leaving channel B, a viewer joining channel and going up to the market C-a viewer leaving channel and going down to the market C, when the same event continuously occurs twice in a live broadcasting process, for example, an electronic device receives an abnormal live broadcasting event 'anchor leaving channel B event', and a live broadcasting process 'creating channel A-anchor joining channel B-viewer joining channel and going up to the market C-viewer leaving channel and going down to the anchor leaving channel B-an anchor leaving channel B-destroying channel A' is generated based on historical live broadcasting time, at the moment, the 'anchor leaving channel B' event continuously occurs twice, the live broadcasting process is in an abnormal state, and the abnormal live broadcasting event is real.
Step 202, continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
optionally, before continuously obtaining the heartbeat packet data of the target live broadcast room based on the current time, the method further includes: acquiring the historical time of the last heartbeat packet data sent by the target live broadcast room, calculating the time interval between the historical time and the current time, judging whether the time interval is smaller than a preset interval threshold value, if so, determining that the heartbeat of the target live broadcast room is in a normal state, and determining that the target live broadcast room is in a normal state; setting a timer based on the historical time, and continuously acquiring heartbeat data of the target live broadcast room based on the current time when the timer time is greater than the interval threshold; and if not, determining that the heartbeat of the target live broadcast room is in an abnormal state, determining that the target live broadcast room is in an undetermined state, and continuously acquiring heartbeat data of the target live broadcast room based on the current time.
And 203, judging whether the heartbeat packet data is in an abnormal state, and if so, determining that the on-hook behavior exists in the target live broadcast room.
In the specific implementation process, after the heartbeat packet data is judged to be in an abnormal state, secondary judgment is carried out through audio data of a target live broadcast room, and whether an on-hook behavior exists in the target live broadcast room is determined.
In a possible example, the determining whether the heartbeat packet data is in an abnormal state includes:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
Optionally, a counter and an electronic watch are started, an initial parameter of the counter is 0, a sampling time period is determined, a preset sampling time interval or a sampling rule is obtained, for example, the sampling time interval is 10 seconds or the sampling rule is performed every 10 seconds, sampling time points are determined based on the sampling time interval and the sampling rule, for example, the sampling time period is 19 minutes to 16 minutes and 20 minutes, and the sampling time points are determined based on the sampling time interval of 10 seconds and are respectively: 16 hours 19 minutes 0 seconds, 16 hours 19 minutes 10 seconds, 16 hours 19 minutes 20 seconds, 16 hours 19 minutes 30 seconds, 16 hours 19 minutes 40 seconds, 16 hours 19 minutes 50 seconds, and 16 hours 20 minutes 0 seconds; when the time of the electronic watch coincides with the sampling time point, judging whether heartbeat packet data of a target live broadcast room are received, for example, when the time of the electronic watch is 16 hours, 19 minutes and 0 seconds, detecting whether data transmission exists in the target live broadcast room, and if so, acquiring a data packet; further, whether the data packet contains the heartbeat packet data or not is judged, if the data packet does not contain the heartbeat packet data or data transmission does not exist in the target live broadcast room, the numerical value of the counter is increased by one, and if the data packet contains the heartbeat packet data, the numerical value of the counter is cleared, and the heartbeat packet data is determined to be in a non-abnormal state; when the value of the counter is not larger than the counter threshold value, executing the loop aiming at the sampling time point; and when the numerical value of the counter is larger than the counter threshold value, determining that the heartbeat packet data is in an abnormal state.
In a possible example, after the performing the mark-to-be-determined on the target live broadcast room, the method further includes: collecting the audio stream of the target live broadcast room at the current time; acquiring the audio decibel of the audio stream; judging whether the audio decibel is larger than a preset decibel threshold value or not; if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
Optionally, an audio extraction timer is set, a preset audio extraction duration is obtained, the timer is set based on the audio extraction duration, the timer is started and the current audio of the target live broadcast room is collected, when the timer time meets the audio extraction duration, the audio stream is obtained, the audio decibel of the audio stream is obtained, wherein the audio decibel is the average decibel of the audio stream, whether the audio decibel is greater than a preset decibel threshold value is judged, if not, the target live broadcast room is determined to be in a low decibel state, the on-hook behavior of the target live broadcast room is determined, and an on-hook mark is executed on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
In a possible example, after the performing the mark-to-be-determined on the target live broadcast room, the method further includes: acquiring historical audio data of the target live broadcast room; performing silence detection on the historical audio data, and marking silence segments in the historical audio data; cutting the silence segment in the historical audio data to obtain detected audio data; substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice; if yes, performing heartbeat detection operation on the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
Optionally, historical audio data of the target live broadcast room is obtained, where the historical audio data is audio data of the target live broadcast room within a preset time period corresponding to the current time, that is, when the preset time period is 10min and the current time is 17:50, a historical time period corresponding to the historical audio data is as follows: 17:40-17:50.
Optionally, a silence detection algorithm is executed on the historical audio data, and a silence segment included in the historical audio data is determined; and cutting the historical audio data based on the mute segment to obtain a plurality of historical audio subdata, and synthesizing the plurality of historical audio subdata to obtain the detection audio data.
And further, the audio data is used as the input of a preset voice detection model, whether the detected audio data is voice or not is judged, if the detected audio data is voice, an on-hook mark is executed on the live broadcast room, and if the detected audio data is not voice, the on-hook behavior of the target live broadcast room is determined.
Optionally, the historical audio data is used as an input of a preset silence detection model, a proportion of a silence segment duration in the historical audio data to a total duration of the historical audio data is calculated, whether the proportion is greater than a preset proportion threshold is judged, and if the proportion is greater than the preset proportion threshold, an on-hook flag is executed in a live broadcast room; and if not, executing heartbeat detection operation on the target live broadcast room.
In a possible example, the performing a heartbeat detection operation on the target live broadcast room includes: sending a heartbeat detection packet to the target live broadcast room; setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer; if yes, determining that no on-hook behavior exists in the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
Optionally, the electronic device box the target live broadcast room sends a heartbeat detection packet, and this heartbeat detection packet is used for right the target live broadcast room detects, if the target live broadcast room is normally live broadcast, then the target live broadcast room receives behind the heartbeat detection packet, the target live broadcast room will return heartbeat detection data, set up the timer, the time of timer is the time threshold of waiting for presetting, if receive in the time of timer the heartbeat detection data that the target live broadcast room returned, then confirm that there is not the on-hook action in the target live broadcast room, if not receive in the time of timer the heartbeat detection data that the target live broadcast room returned, then confirm that there is the on-hook action in the target live broadcast room, right the target live broadcast room carries out the on-hook mark.
In a possible example, the determining whether the heartbeat packet data is in a previous abnormal condition further includes: judging whether the current time has instant heartbeat packet data returned by the target live broadcast room; and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
Optionally, a data packet received at the current time is acquired, whether the data packet contains the heartbeat packet data or not is judged, or historical time of the heartbeat packet data sent last time in the target live broadcasting room is acquired, a time interval between the historical time and the current time is calculated, if the data packet contains the heartbeat packet data or the time interval is smaller than a preset time interval threshold, it is determined that instant heartbeat packet data returned by the target live broadcasting room exists at the current time, and normal operation of the target live broadcasting room is determined; and if the data packet contains the heartbeat packet data or the time interval is smaller than a preset time interval threshold value, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
In a possible example, the obtaining heartbeat packet data of the target live broadcast room based on the current time includes: determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time; extracting first heartbeat packet data of the target live broadcast room in the historical time period; setting a timer to obtain second heartbeat packet data of the second extraction time period; and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
Optionally, a preset extraction time selection rule is obtained, where the extraction time selection rule may include: selecting x seconds before the current time as a first extraction time period and y seconds after the current time as a second extraction time period by taking the current time as a reference; therefore, the first extraction time and the second extraction time are determined based on the preset extraction time selection rule and the current time.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It can be seen that, in the embodiment of the application, the electronic device receives an abnormal live event, and determines a target live broadcast room based on the live event; continuously acquiring heartbeat packet data of the target live broadcast room based on the current time; judging whether the heartbeat packet data is in an abnormal state or not, after the heartbeat packet data is determined to be in the abnormal state, carrying out secondary judgment on the target live broadcast room through audio data, and determining that the on-hook behavior exists in the target live broadcast room. So, can receive unusual live broadcast incident through electronic equipment, fix a position fast to the target live broadcast room based on unusual live broadcast incident, judge whether there is the on-hook action in the target live broadcast room through the state of heartbeat package data, improve the detection accuracy of on-hook live broadcast room through the secondary detection, in addition, simplify the flow that the on-hook action detected in live broadcast room, shorten detection cycle, realize improving detection efficiency and user experience degree to the short-term test of on-hook live broadcast room.
Referring to fig. 3, fig. 3 is a schematic diagram of a frame of a live broadcast room hang-up behavior detection method according to an embodiment of the present application, and the method is applied to the electronic device shown in fig. 1, and includes: the system comprises an event center, a monitoring center and application services, wherein the framework is mainly used for realizing the following steps:
receiving an abnormal live event, and determining a target live broadcast room based on the live event;
continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
The method comprises the steps that a monitoring core sends a monitoring event to an event center, the event center receives the monitoring event, the monitoring event is verified and detected, whether the monitoring event is an on-hook event or not is confirmed, when the application service monitors that the on-hook event exists in the event center, the on-hook event is positioned to a live broadcast room corresponding to the on-hook event, and the live broadcast room is cleaned.
In the specific implementation process, a direct broadcast SDK is firstly accessed to any direct broadcast room, an information notification service in a monitoring center collects events monitored by the direct broadcast SDK, the information notification service sends the collected events to a monitoring core, the monitoring core monitors the direct broadcast room through IM heartbeat and direct broadcast room decibels, and meanwhile, when the direct broadcast room is marked to be determined, the monitoring core sends a heartbeat detection packet to the direct broadcast room; setting a timer, and judging whether heartbeat detection data returned by a live broadcast room is received within the time of the timer; if yes, determining that the on-hook behavior does not exist in the live broadcast room; if not, determining that an on-hook behavior exists in the live broadcast room, and performing on-hook marking on the live broadcast room, as shown in fig. 4, where fig. 4 is a schematic frame diagram of a monitoring center provided in an embodiment of the present application.
In a specific implementation process, the monitoring core divides a live event into two parts, namely an event ID and an event body, the event core receives the event ID and the event body, the event body is stored in the event storage area, the event ID is sent to the event queue, and the event queue establishes a mapping relationship between the event ID and the event body, as shown in fig. 5, fig. 5 is a schematic diagram of a framework of an event center provided in an embodiment of the present application.
Referring to fig. 6 based on the descriptions of fig. 3 to fig. 5, fig. 6 is a schematic diagram of a frame of another live broadcast room hang-up behavior detection method according to an embodiment of the present application, where as shown in the drawing, an application service extracts a consumption event from an event core, that is, performs a shutdown operation on a live broadcast room when it is monitored that the event center includes a hang-up event. The monitoring center and the event center are the same as those shown in fig. 4 and 5, and are not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device 700 according to an embodiment of the present application, and as shown in the drawing, the electronic device 700 includes an application processor 710, a memory 720, a communication interface 730, and one or more programs 721, where the one or more programs 721 are stored in the memory 720 and configured to be executed by the application processor 710, and the one or more programs 521 include instructions for:
receiving an abnormal live event, and determining a target live broadcast room based on the live event;
continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
It can be seen that, in the embodiment of the application, the electronic device receives an abnormal live event, and determines a target live broadcast room based on the live event; continuously acquiring heartbeat packet data of the target live broadcast room based on the current time; and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room. So, can receive unusual live broadcast incident through electronic equipment, fix a position the target live broadcast room fast based on unusual live broadcast incident, judge whether there is the on-hook action in the target live broadcast room through the state of heartbeat packet data, can simplify the flow that the on-hook action detected in live broadcast room, shorten detection cycle, realize the short-term test to the on-hook live broadcast room, improve detection efficiency and user experience degree.
In a possible example, the determining whether the heartbeat packet data is in an abnormal state is specifically performed by instructions in the program to:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
In a possible example, after the mark to be determined is executed on the target live broadcast room, the instructions in the program are specifically configured to perform the following operations: collecting the audio stream of the target live broadcast room at the current time; acquiring the audio decibel of the audio stream; judging whether the audio decibel is larger than a preset decibel threshold value or not; if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
In a possible example, after the mark to be determined is executed on the target live broadcast room, the instructions in the program are specifically configured to perform the following operations: acquiring historical audio data of the target live broadcast room; performing silence detection on the historical audio data, and marking silence segments in the historical audio data; cutting the silence segment in the historical audio data to obtain detected audio data; substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice; if yes, performing heartbeat detection operation on the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In a possible example, the performing a heartbeat detection operation on the target live broadcast room includes the following specifically: sending a heartbeat detection packet to the target live broadcast room; setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer; if yes, determining that no on-hook behavior exists in the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In a possible example, before the determining whether the heartbeat packet data is in the abnormal condition, the instructions in the program are specifically configured to perform the following operations: judging whether the current time has instant heartbeat packet data returned by the target live broadcast room; and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
In a possible example, the obtaining of the heartbeat packet data of the target live broadcast room based on the current time is specifically configured to perform the following operations: determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time; extracting first heartbeat packet data of the target live broadcast room in the historical time period; setting a timer to obtain second heartbeat packet data of the second extraction time period; and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an on-hook behavior detection apparatus in a live broadcast room according to an embodiment of the present application, including: a receiving unit 801, an acquiring unit 802, and a judging unit 803, wherein:
a receiving unit 801, configured to receive an abnormal live event, and determine a target live broadcast room based on the live event;
an obtaining unit 802, configured to continuously obtain heartbeat packet data of the target live broadcast room based on a current time;
the determining unit 803 is configured to determine whether the heartbeat packet data is in an abnormal state, and if so, determine that an on-hook behavior exists in the target live broadcast room.
It can be seen that, in the embodiment of the application, the electronic device receives an abnormal live event, and determines a target live broadcast room based on the live event; continuously acquiring heartbeat packet data of the target live broadcast room based on the current time; and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room. So, can receive unusual live broadcast incident through electronic equipment, fix a position the target live broadcast room fast based on unusual live broadcast incident, judge whether there is the on-hook action in the target live broadcast room through the state of heartbeat packet data, can simplify the flow that the on-hook action detected in live broadcast room, shorten detection cycle, realize the short-term test to the on-hook live broadcast room, improve detection efficiency and user experience degree.
In a possible example, in terms of the determining whether the heartbeat packet data is in an abnormal state, the determining unit 803 is specifically configured to:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
In a possible example, after the to-be-determined flag is executed on the target live broadcast room, the determining unit 803 is further configured to: collecting the audio stream of the target live broadcast room at the current time; acquiring the audio decibel of the audio stream; judging whether the audio decibel is larger than a preset decibel threshold value or not; if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room; and if so, executing heartbeat detection operation on the target live broadcast room.
In a possible example, in terms of after the performing the mark-to-be-determined on the target live broadcast room, the determining unit 803 is further configured to: acquiring historical audio data of the target live broadcast room; performing silence detection on the historical audio data, and marking silence segments in the historical audio data; cutting the silence segment in the historical audio data to obtain detected audio data; substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice; if yes, performing heartbeat detection operation on the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In a possible example, in terms of performing the heartbeat detection operation on the target live broadcast room, the determining unit 803 is specifically configured to: sending a heartbeat detection packet to the target live broadcast room; setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer; if yes, determining that no on-hook behavior exists in the target live broadcast room; if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
In a possible example, in terms of the determining whether the heartbeat packet data is in an abnormal condition, the determining unit 803 is specifically configured to: judging whether the current time has instant heartbeat packet data returned by the target live broadcast room; and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
In a possible example, in the aspect of acquiring the heartbeat packet data of the target live broadcast room based on the current time, the acquiring unit 802 is specifically configured to: determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time; extracting first heartbeat packet data of the target live broadcast room in the historical time period; setting a timer to obtain second heartbeat packet data of the second extraction time period; and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A live broadcast room on-hook behavior detection method is characterized by comprising the following steps:
receiving an abnormal live event, and determining a target live broadcast room based on the live event;
continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
2. The method of claim 1, wherein said determining whether said heartbeat packet data is in an abnormal state comprises:
s21, starting a counter, wherein the initial total number T of the counter is 0;
s22, acquiring a preset acquisition time interval, determining a sampling time point based on the sampling time interval and the current time, and judging whether heartbeat packet data of the target live broadcast room are received at the sampling time point;
s23, if not, if T is T +1, go to step S22, and if T is greater than the preset counter threshold, go to step S25;
s24, if yes, clearing the counter to determine that the heartbeat packet data is in a non-abnormal state;
s25, determining that the heartbeat package data is in an abnormal state, and executing a mark to be determined on the target live broadcast room.
3. The method of claim 2, wherein after the performing the mark-up to be determined on the target live broadcast room, further comprising:
collecting the audio stream of the target live broadcast room at the current time;
acquiring the audio decibel of the audio stream;
judging whether the audio decibel is larger than a preset decibel threshold value or not;
if not, determining that the target live broadcast room is in a low decibel state, determining that the target live broadcast room has an on-hook behavior, and executing an on-hook mark on the target live broadcast room;
and if so, executing heartbeat detection operation on the target live broadcast room.
4. The method of claim 2, wherein after the performing the mark-up to be determined on the target live broadcast room, further comprising:
acquiring historical audio data of the target live broadcast room;
performing silence detection on the historical audio data, and marking silence segments in the historical audio data;
cutting the silence segment in the historical audio data to obtain detected audio data;
substituting the detected audio data into a preset voice detection model, and judging whether the detected audio data is human voice;
if yes, performing heartbeat detection operation on the target live broadcast room;
if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
5. The method according to any one of claims 3 or 4, wherein the performing a heartbeat detection operation on the target live broadcast room comprises:
sending a heartbeat detection packet to the target live broadcast room;
setting a timer, and judging whether heartbeat detection data returned by the target live broadcast room is received within the time of the timer;
if yes, determining that no on-hook behavior exists in the target live broadcast room;
if not, determining that the target live broadcast room has a hang-up behavior, and executing hang-up marking on the target live broadcast room.
6. The method of claim 2, wherein said determining whether said heartbeat packet data is in an abnormal condition further comprises:
judging whether the current time has instant heartbeat packet data returned by the target live broadcast room;
and if the instant heartbeat packet data does not exist, determining that the target live broadcast room is in an undetermined state, and executing heartbeat packet data abnormity judgment.
7. The method of claim 1, wherein the obtaining heartbeat packet data of the target live broadcast room based on the current time comprises:
determining a first extraction time period and a second extraction time period based on a preset extraction time selection rule and the current time;
extracting first heartbeat packet data of the target live broadcast room in the historical time period;
setting a timer to obtain second heartbeat packet data of the second extraction time period;
and combining the first heartbeat packet data and the second heartbeat packet data to obtain the heartbeat packet data.
8. A live room hang-up behavior detection apparatus, the apparatus comprising:
the receiving unit is used for receiving an abnormal live event and determining a target live broadcast room based on the live event;
the acquisition unit is used for continuously acquiring heartbeat packet data of the target live broadcast room based on the current time;
and the judging unit is used for judging whether the heartbeat packet data is in an abnormal state or not, and if so, determining that the on-hook behavior exists in the target live broadcast room.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 7.
CN202011556196.4A 2020-12-25 2020-12-25 Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium Active CN112738538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011556196.4A CN112738538B (en) 2020-12-25 2020-12-25 Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011556196.4A CN112738538B (en) 2020-12-25 2020-12-25 Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112738538A true CN112738538A (en) 2021-04-30
CN112738538B CN112738538B (en) 2023-06-06

Family

ID=75615662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011556196.4A Active CN112738538B (en) 2020-12-25 2020-12-25 Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112738538B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220515A (en) * 2021-05-12 2021-08-06 武汉中仪物联技术股份有限公司 Mobile device connection state detection method and device, electronic device and storage medium
CN114710685A (en) * 2022-03-14 2022-07-05 秦皇岛泰和安科技有限公司 Video stream processing method and device, terminal equipment and storage medium
CN115002500A (en) * 2022-06-15 2022-09-02 北京搜房科技发展有限公司 Live broadcast management method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331769A (en) * 2016-09-23 2017-01-11 北京赢点科技有限公司 Live streaming detection service end and optimized live streaming resource utilization method
CN108111879A (en) * 2017-12-12 2018-06-01 福建中金在线信息科技有限公司 A kind of method, apparatus and electronic equipment of net cast abnormality processing
CN108259448A (en) * 2016-12-30 2018-07-06 广州华多网络科技有限公司 The method and device of abnormal broken line during a kind of company of preventing wheat
CN110875859A (en) * 2018-09-04 2020-03-10 北京京东尚科信息技术有限公司 Method and system for monitoring network connection abnormity
CN110996109A (en) * 2019-11-21 2020-04-10 北京达佳互联信息技术有限公司 Abnormal live broadcast room cleaning method and device, live broadcast server and storage medium
US20200136846A1 (en) * 2014-06-26 2020-04-30 Ainemo Inc Terminal and method for bidirectional live sharing and smart monitoring
CN111182314A (en) * 2018-11-12 2020-05-19 阿里巴巴集团控股有限公司 Live stream processing method and device and data processing method
CN111586432A (en) * 2020-06-05 2020-08-25 广州繁星互娱信息科技有限公司 Method and device for determining air-broadcast live broadcast room, server and storage medium
CN112040259A (en) * 2020-08-28 2020-12-04 广州华多网络科技有限公司 Method, server, system, storage medium and equipment for continuous playing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200136846A1 (en) * 2014-06-26 2020-04-30 Ainemo Inc Terminal and method for bidirectional live sharing and smart monitoring
CN106331769A (en) * 2016-09-23 2017-01-11 北京赢点科技有限公司 Live streaming detection service end and optimized live streaming resource utilization method
CN108259448A (en) * 2016-12-30 2018-07-06 广州华多网络科技有限公司 The method and device of abnormal broken line during a kind of company of preventing wheat
CN108111879A (en) * 2017-12-12 2018-06-01 福建中金在线信息科技有限公司 A kind of method, apparatus and electronic equipment of net cast abnormality processing
CN110875859A (en) * 2018-09-04 2020-03-10 北京京东尚科信息技术有限公司 Method and system for monitoring network connection abnormity
CN111182314A (en) * 2018-11-12 2020-05-19 阿里巴巴集团控股有限公司 Live stream processing method and device and data processing method
CN110996109A (en) * 2019-11-21 2020-04-10 北京达佳互联信息技术有限公司 Abnormal live broadcast room cleaning method and device, live broadcast server and storage medium
CN111586432A (en) * 2020-06-05 2020-08-25 广州繁星互娱信息科技有限公司 Method and device for determining air-broadcast live broadcast room, server and storage medium
CN112040259A (en) * 2020-08-28 2020-12-04 广州华多网络科技有限公司 Method, server, system, storage medium and equipment for continuous playing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊祝青等: "基于Android平台的视频直播软件设计", 《中国新通信》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220515A (en) * 2021-05-12 2021-08-06 武汉中仪物联技术股份有限公司 Mobile device connection state detection method and device, electronic device and storage medium
CN114710685A (en) * 2022-03-14 2022-07-05 秦皇岛泰和安科技有限公司 Video stream processing method and device, terminal equipment and storage medium
CN114710685B (en) * 2022-03-14 2023-12-05 秦皇岛泰和安科技有限公司 Video stream processing method and device, terminal equipment and storage medium
CN115002500A (en) * 2022-06-15 2022-09-02 北京搜房科技发展有限公司 Live broadcast management method and device, storage medium and electronic equipment
CN115002500B (en) * 2022-06-15 2024-02-13 北京搜房科技发展有限公司 Live broadcast management method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112738538B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN112738538A (en) Live broadcast room on-hook behavior detection method and device, electronic equipment and computer readable storage medium
CN109089154B (en) Video extraction method, device, equipment and medium
CN109152095B (en) Wireless network connection method for terminal
CN101496429B (en) Apparatus and methods for determining connection quality metrics
US20040202109A1 (en) Data distribution server and terminal apparatus
CN107172443A (en) Net cast methods, devices and systems
CN110166788B (en) Information synchronous playing method, device and storage medium
CN108305628B (en) Speech recognition method, speech recognition device, computer equipment and storage medium
CN111683273A (en) Method and device for determining video blockage information
CN110611831B (en) Video transmission method and device
CN105530108A (en) Information push method and apparatus
CN105929941B (en) Information processing method and device and terminal equipment
CN107426311A (en) Information-pushing method and device
CN112565016B (en) Positioning method, system and device for abnormal time delay, electronic equipment and storage medium
CN107426200B (en) Multimedia data processing method and device
CN109040937B (en) Microphone blockage reminding method and related device
CN108200604B (en) Data transmission method and device
CN109429296B (en) Method, device and storage medium for associating terminal with internet surfing information
CN106793119B (en) Channel setting method and device
CN113067757B (en) Information transmission and storage method, device and medium
CN107484015B (en) Program processing method and device and terminal
CN115665504A (en) Event identification method and device, electronic equipment and storage medium
CN112820273B (en) Wake-up judging method and device, storage medium and electronic equipment
US9485458B2 (en) Data processing method and device
CN110738812B (en) Doorbell prompting method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant